package com.qianfeng.service.Impl;

import com.qianfeng.entity.Education;
import com.qianfeng.mapper.EducationMapper;
import com.qianfeng.service.EducationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public class EducationServiceImpl implements EducationService {
    @Autowired
    private EducationMapper educationMapper;
    @Transactional(readOnly = true)
    @Override
    public List<Education> getEductionList() {
        return educationMapper.getEductionList();
    }
}
